package com.zy.rpc.server.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * @author zy
 * @date 2023/4/23 16:53
 * rpc服务的属性
 */

@Data
@ConfigurationProperties(prefix = "rpc.server")
public class RpcServerProperties {

    private int port;

    private String appName;

    private String registryAddr;
}
